package com.enation.app.javashop.api.client;

import com.enation.app.javashop.framework.database.WebPage;
import com.enation.app.javashop.model.member.dto.DepositeParamDTO;
import com.enation.app.javashop.service.trade.deposite.RechargeManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;

/**
 * @description: 预存款充值客户端实现
 * @author: fk
 * @create: 2020-02-02 16:43
 * @version:1.0
 * @since:7.2
 **/
@RestController
@RequestMapping("/client/trade")
@ApiIgnore
public class RechargeClientController{

    @Autowired
    private RechargeManager rechargeManager;

    @PostMapping("/recharge")
    public WebPage list(@RequestBody DepositeParamDTO paramDTO) {
        return rechargeManager.list(paramDTO);
    }

}
